<div class="page">
	<div class="layoutBox">
        <div class="pageHeader">
            <form id="pagerForm" onsubmit="return navTabSearch(this);" action="__URL__" method="post">
            <input type="hidden" name="pageNum" value="1"/>
            <input type="hidden" name="_search_likes" value="*"/><!--哪些字段是模糊查询，逗号分隔，*为所有-->
            <div class="searchBar">
                <ul class="searchContent">
                    <li>
                        <label>查找范围：</label>
                        <select name="keytype">
                        <?php echo PrintOption($_REQUEST['keytype'], 'account:用户名,nickname:真实姓名,email:邮箱,remark:备注');?>
                        </select>
                    </li>
                    <li>
                        <label>关键字：</label>
                        <input name="keyword" type="text" value="{$Think.request.keyword}" size="30"/>
                    </li>
                </ul>
                <div class="subBar">
                    <ul>
                        <li><div class="buttonActive"><div class="buttonContent"><button type="submit">查询</button></div></div></li>
                    </ul>
                </div>
            </div>
            </form>
        </div>
	
		<div class="panelBar">
			<ul class="toolBar">
				<li><a class="add" href="__URL__/add/tid/{$Think.request.tid}" target="dialog" width="590" height="340" mask="true"><span>新增</span></a></li>
				<li><a class="edit" href="__URL__/edit/id/{sid_user}" target="dialog" width="590"  mask="true" warn="请选择一条记录"><span>编辑</span></a></li>
                <li><a class="delete" href="__URL__/foreverdelete/navTabId/__MODULE__" target="selectedTodo" posttype="string" rel="id" title="确实要删除这些记录吗？" warn="请至少选择一条记录"><span>删除</span></a></li>
				<li class="line">line</li>
				<li><a class="icon" href="__URL__/password/id/{sid_user}" target="dialog" mask="true" warn="请选择一条记录"><span>修改密码</span></a></li>
			</ul>
		</div>

		<table class="list" width="100%" layoutH="100">
			<thead>
			<tr>
				<th><input type="checkbox" group="id" class="checkboxCtrl"></th>
				<th>编号</th>
				<th>用户名</th>
				<th>昵称</th>
				<th>Email</th>
				<th>添加时间</th>
				<th>上次登录</th>
				<th>登录次数</th>
				<th>状态</th>
			</tr>
			</thead>
			<tbody>
			<volist id="vo" name="list">
				<tr target="sid_user" rel="{$vo['id']}">
					<td><input type="checkbox" name="id" value="{$vo['id']}" /></td>
					<td>{$vo['id']}</td>
					<td>{$vo['account']}</td>
					<td>{$vo['nickname']}</td>
					<td>{$vo['email']}</td>
					<td>{$vo['create_time']|date="Y-m-d",###}</td>
					<td><notempty name="$vo['last_login_time']">{$vo['last_login_time']|date="Y-m-d H:i:s",###}</notempty></td>
					<td>{$vo['login_count']}</td>
					<td>{$vo['status']|showStatus=$vo['id']}&nbsp;|&nbsp;<a class="delete" href="__URL__/foreverdelete/id/{$vo['id']}/navTabId/__MODULE__" target="ajaxTodo" title="确实要删这条记录吗？"><span>删除</span></a></td>
				</tr>
			</volist>
			</tbody>
		</table>

		<div class="panelBar">
			<div class="pages">
				<span>共{$totalCount}条</span>
			</div>
			<div class="pagination" targetType="navTab" totalCount="{$totalCount}" numPerPage="{$numPerPage}" pageNumShown="10" currentPage="{$currentPage}"></div>
		</div>

	</div>
</div>

